package com.xhj.sportsnews.bean;

import java.util.List;

/**
 * Created by Administrator on 2016/12/19.
 */

public class EventAllEntity {

    /**
     * code : 200
     * data : {"contest_list":[{"contest_id":167492,"contest":{"contest_id":167492,"target_id":9539853,"cup_id":34,"cup_name":"法甲","color":"#141E33","contest_type":0,"home_team":3075,"home_scores":2,"away_team":1200,"away_scores":0,"start_time":"Mon Dec 19 00:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":3075,"name":"马赛","logo":"1641.png"},"a_t":{"t_id":1200,"name":"里尔","logo":"1643.png"},"settle_statu":0,"ext_flag":1,"room_id":5913,"init_count":0},"contest_type":0,"select_flag":false},{"contest_id":169647,"topic_id":4358,"create_time":"Mon Dec 19 08:12:24 +0800 2016","editor":"饶志远","contest":{"contest_id":169647,"target_id":9600067,"cup_id":17,"cup_name":"英超","color":"#118E7C","contest_type":0,"home_team":499,"home_scores":2,"away_team":506,"away_scores":1,"start_time":"Mon Dec 19 00:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":499,"name":"曼城","logo":"17.png"},"a_t":{"t_id":506,"name":"阿森纳","logo":"42.png"},"settle_statu":0,"ext_flag":1,"room_id":5908,"init_count":0},"contest_type":0,"type":0,"link":"","select_flag":false},{"contest_id":169669,"contest":{"contest_id":169669,"target_id":9600075,"cup_id":17,"cup_name":"英超","color":"#118E7C","contest_type":0,"home_team":511,"home_scores":2,"away_team":517,"away_scores":1,"start_time":"Mon Dec 19 00:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":511,"name":"托特纳姆热刺","logo":"33.png"},"a_t":{"t_id":517,"name":"伯恩利","logo":"6.png"},"settle_statu":0,"ext_flag":1,"room_id":5904,"init_count":0},"contest_type":0,"select_flag":false},{"contest_id":178277,"contest":{"contest_id":178277,"target_id":9690233,"cup_id":35,"cup_name":"德甲","color":"#16443D","contest_type":0,"home_team":836,"home_scores":1,"away_team":1144,"away_scores":2,"start_time":"Mon Dec 19 00:30:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":836,"name":"勒沃库森","logo":"2681.png"},"a_t":{"t_id":1144,"name":"因戈尔施塔特","logo":"5880.png"},"settle_statu":0,"ext_flag":1,"room_id":5905,"init_count":0},"contest_type":0,"select_flag":false},{"contest_id":185708,"contest":{"contest_id":185708,"target_id":9769469,"cup_id":8,"cup_name":"西甲","color":"#191972","contest_type":0,"home_team":2913,"home_scores":2,"away_team":8981,"away_scores":0,"start_time":"Mon Dec 19 01:30:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":2913,"name":"拉科鲁尼亚","logo":"2832.png"},"a_t":{"t_id":8981,"name":"奥萨苏纳","logo":"2820.png"},"settle_statu":0,"ext_flag":1,"room_id":5906,"init_count":0},"contest_type":0,"select_flag":false},{"contest_id":167495,"contest":{"contest_id":167495,"target_id":9539861,"cup_id":34,"cup_name":"法甲","color":"#141E33","contest_type":0,"home_team":3078,"home_scores":1,"away_team":776,"away_scores":3,"start_time":"Mon Dec 19 03:45:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":1,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":3078,"name":"摩纳哥","logo":"1653.png"},"a_t":{"t_id":776,"name":"里昂","logo":"1649.png"},"settle_statu":0,"ext_flag":1,"room_id":5907,"init_count":0},"contest_type":0,"select_flag":false},{"contest_id":185701,"topic_id":4359,"create_time":"Mon Dec 19 08:13:58 +0800 2016","editor":"饶志远","contest":{"contest_id":185701,"target_id":9769467,"cup_id":8,"cup_name":"西甲","color":"#191972","contest_type":0,"home_team":838,"home_scores":4,"away_team":3100,"away_scores":1,"start_time":"Mon Dec 19 03:45:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":2,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":838,"name":"巴塞罗那","logo":"2817.png"},"a_t":{"t_id":3100,"name":"西班牙人","logo":"2814.png"},"settle_statu":0,"ext_flag":1,"room_id":5899,"init_count":0},"contest_type":0,"type":0,"link":"","select_flag":false},{"contest_id":193710,"contest":{"contest_id":193710,"target_id":9821249,"cup_id":23,"cup_name":"意甲","color":"#190000","contest_type":0,"home_team":9032,"home_scores":3,"away_team":2416,"away_scores":4,"start_time":"Mon Dec 19 03:45:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":9032,"name":"热那亚","logo":"2713.png"},"a_t":{"t_id":2416,"name":"巴勒莫","logo":"2715.png"},"settle_statu":0,"ext_flag":1,"room_id":5889,"init_count":0},"contest_type":0,"select_flag":false},{"contest_id":193712,"contest":{"contest_id":193712,"target_id":9821257,"cup_id":23,"cup_name":"意甲","color":"#190000","contest_type":0,"home_team":3035,"home_scores":3,"away_team":6524,"away_scores":1,"start_time":"Mon Dec 19 03:45:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":3035,"name":"拉齐奥","logo":"2699.png"},"a_t":{"t_id":6524,"name":"佛罗伦萨","logo":"2693.png"},"settle_statu":0,"ext_flag":1,"room_id":5914,"init_count":0},"contest_type":0,"select_flag":false},{"contest_id":19259,"contest":{"contest_id":19259,"target_id":9954235,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":163,"home_scores":117,"away_team":180,"away_scores":110,"start_time":"Mon Dec 19 04:30:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":163,"name":"奇才","logo":"3431.png"},"a_t":{"t_id":180,"name":"快船","logo":"3425.png"},"settle_statu":0,"ext_flag":0,"room_id":5888,"init_count":0},"contest_type":1,"select_flag":false},{"contest_id":19309,"contest":{"contest_id":19309,"target_id":9954669,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":176,"home_scores":99,"away_team":161,"away_scores":79,"start_time":"Mon Dec 19 05:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":176,"name":"小牛","logo":"3411.png"},"a_t":{"t_id":161,"name":"国王","logo":"3413.png"},"settle_statu":0,"ext_flag":0,"room_id":5910,"init_count":0},"contest_type":1,"select_flag":false},{"contest_id":19268,"contest":{"contest_id":19268,"target_id":9954327,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":173,"home_scores":79,"away_team":160,"away_scores":109,"start_time":"Mon Dec 19 07:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":173,"name":"魔术","logo":"3437.png"},"a_t":{"t_id":160,"name":"猛龙","logo":"3433.png"},"settle_statu":0,"ext_flag":0,"room_id":5874,"init_count":0},"contest_type":1,"select_flag":false},{"contest_id":19396,"contest":{"contest_id":19396,"target_id":9955383,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":139,"home_scores":95,"away_team":164,"away_scores":105,"start_time":"Mon Dec 19 07:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":139,"name":"热火","logo":"3435.png"},"a_t":{"t_id":164,"name":"凯尔特人","logo":"3422.png"},"settle_statu":0,"ext_flag":0,"room_id":5915,"init_count":0},"contest_type":1,"select_flag":false},{"contest_id":19444,"topic_id":4360,"create_time":"Mon Dec 19 09:13:35 +0800 2016","editor":"饶志远","contest":{"contest_id":19444,"target_id":9955753,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":165,"home_scores":108,"away_team":175,"away_scores":107,"start_time":"Mon Dec 19 07:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":165,"name":"76人","logo":"3420.png"},"a_t":{"t_id":175,"name":"篮网","logo":"3436.png"},"settle_statu":0,"ext_flag":0,"room_id":5909,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false},{"contest_id":19497,"contest":{"contest_id":19497,"target_id":9956271,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":184,"home_scores":73,"away_team":178,"away_scores":82,"start_time":"Mon Dec 19 07:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":184,"name":"灰熊","logo":"3415.png"},"a_t":{"t_id":178,"name":"爵士","logo":"3434.png"},"settle_statu":0,"ext_flag":0,"room_id":5916,"init_count":0},"contest_type":1,"select_flag":false},{"contest_id":19339,"topic_id":4361,"create_time":"Mon Dec 19 10:05:10 +0800 2016","editor":"饶志远","contest":{"contest_id":19339,"target_id":9954913,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":207,"home_scores":113,"away_team":140,"away_scores":100,"start_time":"Mon Dec 19 08:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":207,"name":"马刺","logo":"3429.png"},"a_t":{"t_id":140,"name":"鹈鹕","logo":"5539.png"},"settle_statu":0,"ext_flag":0,"room_id":5890,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false},{"contest_id":185703,"contest":{"contest_id":185703,"target_id":9769457,"cup_id":8,"cup_name":"西甲","color":"#191972","contest_type":0,"home_team":2723,"home_scores":0,"away_team":3098,"away_scores":0,"start_time":"Tue Dec 20 03:45:00 +0800 2016","status":0,"settle":0,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":2723,"name":"毕尔巴鄂竞技","logo":"2825.png"},"a_t":{"t_id":3098,"name":"塞尔塔","logo":"2821.png"},"settle_statu":0,"ext_flag":0,"room_id":5922,"init_count":0},"contest_type":0,"select_flag":false},{"contest_id":169683,"contest":{"contest_id":169683,"target_id":9600065,"cup_id":17,"cup_name":"英超","color":"#118E7C","contest_type":0,"home_team":503,"home_scores":0,"away_team":509,"away_scores":0,"start_time":"Tue Dec 20 04:00:00 +0800 2016","status":0,"settle":0,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":503,"name":"埃弗顿","logo":"48.png"},"a_t":{"t_id":509,"name":"利物浦","logo":"44.png"},"settle_statu":0,"ext_flag":0,"room_id":5921,"init_count":0},"contest_type":0,"select_flag":false},{"contest_id":19619,"contest":{"contest_id":19619,"target_id":9954777,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":171,"home_scores":0,"away_team":163,"away_scores":0,"start_time":"Tue Dec 20 08:00:00 +0800 2016","status":0,"settle":0,"odds_type":27,"level":1,"bet_count":1,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":171,"name":"步行者","logo":"3419.png"},"a_t":{"t_id":163,"name":"奇才","logo":"3431.png"},"settle_statu":0,"ext_flag":0,"room_id":5923,"init_count":0},"contest_type":1,"select_flag":false},{"contest_id":19519,"contest":{"contest_id":19519,"target_id":9954147,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":172,"home_scores":0,"away_team":186,"away_scores":0,"start_time":"Tue Dec 20 09:00:00 +0800 2016","status":0,"settle":0,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":172,"name":"森林狼","logo":"3426.png"},"a_t":{"t_id":186,"name":"太阳","logo":"3416.png"},"settle_statu":0,"ext_flag":0,"room_id":5912,"init_count":0},"contest_type":1,"select_flag":false},{"contest_id":19651,"contest":{"contest_id":19651,"target_id":9955111,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":188,"home_scores":0,"away_team":168,"away_scores":0,"start_time":"Tue Dec 20 09:00:00 +0800 2016","status":0,"settle":0,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":188,"name":"雷霆","logo":"3418.png"},"a_t":{"t_id":168,"name":"老鹰","logo":"3423.png"},"settle_statu":0,"ext_flag":0,"room_id":5919,"init_count":0},"contest_type":1,"select_flag":false},{"contest_id":19652,"contest":{"contest_id":19652,"target_id":9955195,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":162,"home_scores":0,"away_team":174,"away_scores":0,"start_time":"Tue Dec 20 09:00:00 +0800 2016","status":0,"settle":0,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":162,"name":"公牛","logo":"3409.png"},"a_t":{"t_id":174,"name":"活塞","logo":"3424.png"},"settle_statu":0,"ext_flag":0,"room_id":5924,"init_count":0},"contest_type":1,"select_flag":false},{"contest_id":19536,"contest":{"contest_id":19536,"target_id":9954261,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":167,"home_scores":0,"away_team":176,"away_scores":0,"start_time":"Tue Dec 20 10:00:00 +0800 2016","status":0,"settle":0,"odds_type":27,"level":1,"bet_count":1,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":167,"name":"掘金","logo":"3417.png"},"a_t":{"t_id":176,"name":"小牛","logo":"3411.png"},"settle_statu":0,"ext_flag":0,"room_id":5918,"init_count":0},"contest_type":1,"select_flag":false}],"end_time":"Tue Dec 20 09:59:59 +0800 2016","start_time":"Mon Dec 19 00:00:00 +0800 2016","contest_ing_num":0}
     */

    private int code;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * contest_list : [{"contest_id":167492,"contest":{"contest_id":167492,"target_id":9539853,"cup_id":34,"cup_name":"法甲","color":"#141E33","contest_type":0,"home_team":3075,"home_scores":2,"away_team":1200,"away_scores":0,"start_time":"Mon Dec 19 00:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":3075,"name":"马赛","logo":"1641.png"},"a_t":{"t_id":1200,"name":"里尔","logo":"1643.png"},"settle_statu":0,"ext_flag":1,"room_id":5913,"init_count":0},"contest_type":0,"select_flag":false},{"contest_id":169647,"topic_id":4358,"create_time":"Mon Dec 19 08:12:24 +0800 2016","editor":"饶志远","contest":{"contest_id":169647,"target_id":9600067,"cup_id":17,"cup_name":"英超","color":"#118E7C","contest_type":0,"home_team":499,"home_scores":2,"away_team":506,"away_scores":1,"start_time":"Mon Dec 19 00:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":499,"name":"曼城","logo":"17.png"},"a_t":{"t_id":506,"name":"阿森纳","logo":"42.png"},"settle_statu":0,"ext_flag":1,"room_id":5908,"init_count":0},"contest_type":0,"type":0,"link":"","select_flag":false},{"contest_id":169669,"contest":{"contest_id":169669,"target_id":9600075,"cup_id":17,"cup_name":"英超","color":"#118E7C","contest_type":0,"home_team":511,"home_scores":2,"away_team":517,"away_scores":1,"start_time":"Mon Dec 19 00:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":511,"name":"托特纳姆热刺","logo":"33.png"},"a_t":{"t_id":517,"name":"伯恩利","logo":"6.png"},"settle_statu":0,"ext_flag":1,"room_id":5904,"init_count":0},"contest_type":0,"select_flag":false},{"contest_id":178277,"contest":{"contest_id":178277,"target_id":9690233,"cup_id":35,"cup_name":"德甲","color":"#16443D","contest_type":0,"home_team":836,"home_scores":1,"away_team":1144,"away_scores":2,"start_time":"Mon Dec 19 00:30:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":836,"name":"勒沃库森","logo":"2681.png"},"a_t":{"t_id":1144,"name":"因戈尔施塔特","logo":"5880.png"},"settle_statu":0,"ext_flag":1,"room_id":5905,"init_count":0},"contest_type":0,"select_flag":false},{"contest_id":185708,"contest":{"contest_id":185708,"target_id":9769469,"cup_id":8,"cup_name":"西甲","color":"#191972","contest_type":0,"home_team":2913,"home_scores":2,"away_team":8981,"away_scores":0,"start_time":"Mon Dec 19 01:30:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":2913,"name":"拉科鲁尼亚","logo":"2832.png"},"a_t":{"t_id":8981,"name":"奥萨苏纳","logo":"2820.png"},"settle_statu":0,"ext_flag":1,"room_id":5906,"init_count":0},"contest_type":0,"select_flag":false},{"contest_id":167495,"contest":{"contest_id":167495,"target_id":9539861,"cup_id":34,"cup_name":"法甲","color":"#141E33","contest_type":0,"home_team":3078,"home_scores":1,"away_team":776,"away_scores":3,"start_time":"Mon Dec 19 03:45:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":1,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":3078,"name":"摩纳哥","logo":"1653.png"},"a_t":{"t_id":776,"name":"里昂","logo":"1649.png"},"settle_statu":0,"ext_flag":1,"room_id":5907,"init_count":0},"contest_type":0,"select_flag":false},{"contest_id":185701,"topic_id":4359,"create_time":"Mon Dec 19 08:13:58 +0800 2016","editor":"饶志远","contest":{"contest_id":185701,"target_id":9769467,"cup_id":8,"cup_name":"西甲","color":"#191972","contest_type":0,"home_team":838,"home_scores":4,"away_team":3100,"away_scores":1,"start_time":"Mon Dec 19 03:45:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":2,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":838,"name":"巴塞罗那","logo":"2817.png"},"a_t":{"t_id":3100,"name":"西班牙人","logo":"2814.png"},"settle_statu":0,"ext_flag":1,"room_id":5899,"init_count":0},"contest_type":0,"type":0,"link":"","select_flag":false},{"contest_id":193710,"contest":{"contest_id":193710,"target_id":9821249,"cup_id":23,"cup_name":"意甲","color":"#190000","contest_type":0,"home_team":9032,"home_scores":3,"away_team":2416,"away_scores":4,"start_time":"Mon Dec 19 03:45:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":9032,"name":"热那亚","logo":"2713.png"},"a_t":{"t_id":2416,"name":"巴勒莫","logo":"2715.png"},"settle_statu":0,"ext_flag":1,"room_id":5889,"init_count":0},"contest_type":0,"select_flag":false},{"contest_id":193712,"contest":{"contest_id":193712,"target_id":9821257,"cup_id":23,"cup_name":"意甲","color":"#190000","contest_type":0,"home_team":3035,"home_scores":3,"away_team":6524,"away_scores":1,"start_time":"Mon Dec 19 03:45:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":3035,"name":"拉齐奥","logo":"2699.png"},"a_t":{"t_id":6524,"name":"佛罗伦萨","logo":"2693.png"},"settle_statu":0,"ext_flag":1,"room_id":5914,"init_count":0},"contest_type":0,"select_flag":false},{"contest_id":19259,"contest":{"contest_id":19259,"target_id":9954235,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":163,"home_scores":117,"away_team":180,"away_scores":110,"start_time":"Mon Dec 19 04:30:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":163,"name":"奇才","logo":"3431.png"},"a_t":{"t_id":180,"name":"快船","logo":"3425.png"},"settle_statu":0,"ext_flag":0,"room_id":5888,"init_count":0},"contest_type":1,"select_flag":false},{"contest_id":19309,"contest":{"contest_id":19309,"target_id":9954669,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":176,"home_scores":99,"away_team":161,"away_scores":79,"start_time":"Mon Dec 19 05:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":176,"name":"小牛","logo":"3411.png"},"a_t":{"t_id":161,"name":"国王","logo":"3413.png"},"settle_statu":0,"ext_flag":0,"room_id":5910,"init_count":0},"contest_type":1,"select_flag":false},{"contest_id":19268,"contest":{"contest_id":19268,"target_id":9954327,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":173,"home_scores":79,"away_team":160,"away_scores":109,"start_time":"Mon Dec 19 07:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":173,"name":"魔术","logo":"3437.png"},"a_t":{"t_id":160,"name":"猛龙","logo":"3433.png"},"settle_statu":0,"ext_flag":0,"room_id":5874,"init_count":0},"contest_type":1,"select_flag":false},{"contest_id":19396,"contest":{"contest_id":19396,"target_id":9955383,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":139,"home_scores":95,"away_team":164,"away_scores":105,"start_time":"Mon Dec 19 07:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":139,"name":"热火","logo":"3435.png"},"a_t":{"t_id":164,"name":"凯尔特人","logo":"3422.png"},"settle_statu":0,"ext_flag":0,"room_id":5915,"init_count":0},"contest_type":1,"select_flag":false},{"contest_id":19444,"topic_id":4360,"create_time":"Mon Dec 19 09:13:35 +0800 2016","editor":"饶志远","contest":{"contest_id":19444,"target_id":9955753,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":165,"home_scores":108,"away_team":175,"away_scores":107,"start_time":"Mon Dec 19 07:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":165,"name":"76人","logo":"3420.png"},"a_t":{"t_id":175,"name":"篮网","logo":"3436.png"},"settle_statu":0,"ext_flag":0,"room_id":5909,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false},{"contest_id":19497,"contest":{"contest_id":19497,"target_id":9956271,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":184,"home_scores":73,"away_team":178,"away_scores":82,"start_time":"Mon Dec 19 07:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":184,"name":"灰熊","logo":"3415.png"},"a_t":{"t_id":178,"name":"爵士","logo":"3434.png"},"settle_statu":0,"ext_flag":0,"room_id":5916,"init_count":0},"contest_type":1,"select_flag":false},{"contest_id":19339,"topic_id":4361,"create_time":"Mon Dec 19 10:05:10 +0800 2016","editor":"饶志远","contest":{"contest_id":19339,"target_id":9954913,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":207,"home_scores":113,"away_team":140,"away_scores":100,"start_time":"Mon Dec 19 08:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":207,"name":"马刺","logo":"3429.png"},"a_t":{"t_id":140,"name":"鹈鹕","logo":"5539.png"},"settle_statu":0,"ext_flag":0,"room_id":5890,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false},{"contest_id":185703,"contest":{"contest_id":185703,"target_id":9769457,"cup_id":8,"cup_name":"西甲","color":"#191972","contest_type":0,"home_team":2723,"home_scores":0,"away_team":3098,"away_scores":0,"start_time":"Tue Dec 20 03:45:00 +0800 2016","status":0,"settle":0,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":2723,"name":"毕尔巴鄂竞技","logo":"2825.png"},"a_t":{"t_id":3098,"name":"塞尔塔","logo":"2821.png"},"settle_statu":0,"ext_flag":0,"room_id":5922,"init_count":0},"contest_type":0,"select_flag":false},{"contest_id":169683,"contest":{"contest_id":169683,"target_id":9600065,"cup_id":17,"cup_name":"英超","color":"#118E7C","contest_type":0,"home_team":503,"home_scores":0,"away_team":509,"away_scores":0,"start_time":"Tue Dec 20 04:00:00 +0800 2016","status":0,"settle":0,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":503,"name":"埃弗顿","logo":"48.png"},"a_t":{"t_id":509,"name":"利物浦","logo":"44.png"},"settle_statu":0,"ext_flag":0,"room_id":5921,"init_count":0},"contest_type":0,"select_flag":false},{"contest_id":19619,"contest":{"contest_id":19619,"target_id":9954777,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":171,"home_scores":0,"away_team":163,"away_scores":0,"start_time":"Tue Dec 20 08:00:00 +0800 2016","status":0,"settle":0,"odds_type":27,"level":1,"bet_count":1,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":171,"name":"步行者","logo":"3419.png"},"a_t":{"t_id":163,"name":"奇才","logo":"3431.png"},"settle_statu":0,"ext_flag":0,"room_id":5923,"init_count":0},"contest_type":1,"select_flag":false},{"contest_id":19519,"contest":{"contest_id":19519,"target_id":9954147,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":172,"home_scores":0,"away_team":186,"away_scores":0,"start_time":"Tue Dec 20 09:00:00 +0800 2016","status":0,"settle":0,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":172,"name":"森林狼","logo":"3426.png"},"a_t":{"t_id":186,"name":"太阳","logo":"3416.png"},"settle_statu":0,"ext_flag":0,"room_id":5912,"init_count":0},"contest_type":1,"select_flag":false},{"contest_id":19651,"contest":{"contest_id":19651,"target_id":9955111,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":188,"home_scores":0,"away_team":168,"away_scores":0,"start_time":"Tue Dec 20 09:00:00 +0800 2016","status":0,"settle":0,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":188,"name":"雷霆","logo":"3418.png"},"a_t":{"t_id":168,"name":"老鹰","logo":"3423.png"},"settle_statu":0,"ext_flag":0,"room_id":5919,"init_count":0},"contest_type":1,"select_flag":false},{"contest_id":19652,"contest":{"contest_id":19652,"target_id":9955195,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":162,"home_scores":0,"away_team":174,"away_scores":0,"start_time":"Tue Dec 20 09:00:00 +0800 2016","status":0,"settle":0,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":162,"name":"公牛","logo":"3409.png"},"a_t":{"t_id":174,"name":"活塞","logo":"3424.png"},"settle_statu":0,"ext_flag":0,"room_id":5924,"init_count":0},"contest_type":1,"select_flag":false},{"contest_id":19536,"contest":{"contest_id":19536,"target_id":9954261,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":167,"home_scores":0,"away_team":176,"away_scores":0,"start_time":"Tue Dec 20 10:00:00 +0800 2016","status":0,"settle":0,"odds_type":27,"level":1,"bet_count":1,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":167,"name":"掘金","logo":"3417.png"},"a_t":{"t_id":176,"name":"小牛","logo":"3411.png"},"settle_statu":0,"ext_flag":0,"room_id":5918,"init_count":0},"contest_type":1,"select_flag":false}]
         * end_time : Tue Dec 20 09:59:59 +0800 2016
         * start_time : Mon Dec 19 00:00:00 +0800 2016
         * contest_ing_num : 0
         */

        private String end_time;
        private String start_time;
        private int contest_ing_num;
        private List<ContestListBean> contest_list;

        public String getEnd_time() {
            String week = end_time.substring(0, 3);
            String month = end_time.substring(4, 7);
            String day = end_time.substring(8,10);
            switch (week){
                case "Mon":
                    week = "周一";
                    break;
                case "Tue":
                    week = "周二";
                    break;
                case "Wed":
                    week = "周三";
                    break;
                case "Thu":
                    week = "周四";
                    break;
                case "Fri":
                    week = "周五";
                    break;
                case "Sat":
                    week = "周六";
                    break;
                case "Sun":
                    week = "周日";
                    break;

            }
            String time = "12月"+day+"日 "+week+"(明天)";
            return time;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public String getStart_time() {
            String week = start_time.substring(0, 3);
            String month = start_time.substring(4, 7);
            String day = start_time.substring(8,10);
            switch (week){
                case "Mon":
                    week = "周一";
                    break;
                case "Tue":
                    week = "周二";
                    break;
                case "Wed":
                    week = "周三";
                    break;
                case "Thu":
                    week = "周四";
                    break;
                case "Fri":
                    week = "周五";
                    break;
                case "Sat":
                    week = "周六";
                    break;
                case "Sun":
                    week = "周日";
                    break;

            }
            String time = "12月"+day+"日"+week+"(今天)";

            return time;
        }

        public void setStart_time(String start_time) {
            this.start_time = start_time;
        }

        public int getContest_ing_num() {
            return contest_ing_num;
        }

        public void setContest_ing_num(int contest_ing_num) {
            this.contest_ing_num = contest_ing_num;
        }

        public List<ContestListBean> getContest_list() {
            return contest_list;
        }

        public void setContest_list(List<ContestListBean> contest_list) {
            this.contest_list = contest_list;
        }

        public static class ContestListBean {
            /**
             * contest_id : 167492
             * contest : {"contest_id":167492,"target_id":9539853,"cup_id":34,"cup_name":"法甲","color":"#141E33","contest_type":0,"home_team":3075,"home_scores":2,"away_team":1200,"away_scores":0,"start_time":"Mon Dec 19 00:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":3075,"name":"马赛","logo":"1641.png"},"a_t":{"t_id":1200,"name":"里尔","logo":"1643.png"},"settle_statu":0,"ext_flag":1,"room_id":5913,"init_count":0}
             * contest_type : 0
             * select_flag : false
             * topic_id : 4358
             * create_time : Mon Dec 19 08:12:24 +0800 2016
             * editor : 饶志远
             * type : 0
             * link :
             */

            private int contest_id;
            private ContestBean contest;
            private int contest_type;
            private boolean select_flag;
            private int topic_id;
            private String create_time;
            private String editor;
            private int type;
            private String link;

            public int getContest_id() {
                return contest_id;
            }

            public void setContest_id(int contest_id) {
                this.contest_id = contest_id;
            }

            public ContestBean getContest() {
                return contest;
            }

            public void setContest(ContestBean contest) {
                this.contest = contest;
            }

            public int getContest_type() {
                return contest_type;
            }

            public void setContest_type(int contest_type) {
                this.contest_type = contest_type;
            }

            public boolean isSelect_flag() {
                return select_flag;
            }

            public void setSelect_flag(boolean select_flag) {
                this.select_flag = select_flag;
            }

            public int getTopic_id() {
                return topic_id;
            }

            public void setTopic_id(int topic_id) {
                this.topic_id = topic_id;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public String getEditor() {
                return editor;
            }

            public void setEditor(String editor) {
                this.editor = editor;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getLink() {
                return link;
            }

            public void setLink(String link) {
                this.link = link;
            }

            public static class ContestBean {
                /**
                 * contest_id : 167492
                 * target_id : 9539853
                 * cup_id : 34
                 * cup_name : 法甲
                 * color : #141E33
                 * contest_type : 0
                 * home_team : 3075
                 * home_scores : 2
                 * away_team : 1200
                 * away_scores : 0
                 * start_time : Mon Dec 19 00:00:00 +0800 2016
                 * status : -1
                 * settle : 27
                 * odds_type : 27
                 * level : 1
                 * bet_count : 0
                 * lock_flag : false
                 * belong_five : true
                 * longbi : false
                 * h_t : {"t_id":3075,"name":"马赛","logo":"1641.png"}
                 * a_t : {"t_id":1200,"name":"里尔","logo":"1643.png"}
                 * settle_statu : 0
                 * ext_flag : 1
                 * room_id : 5913
                 * init_count : 0
                 */

                private int contest_id;
                private int target_id;
                private int cup_id;
                private String cup_name;
                private String color;
                private int contest_type;
                private int home_team;
                private int home_scores;
                private int away_team;
                private int away_scores;
                private String start_time;
                private int status;
                private int settle;
                private int odds_type;
                private int level;
                private int bet_count;
                private boolean lock_flag;
                private boolean belong_five;
                private boolean longbi;
                private HTBean h_t;
                private ATBean a_t;
                private int settle_statu;
                private int ext_flag;
                private int room_id;
                private int init_count;

                public int getContest_id() {
                    return contest_id;
                }

                public void setContest_id(int contest_id) {
                    this.contest_id = contest_id;
                }

                public int getTarget_id() {
                    return target_id;
                }

                public void setTarget_id(int target_id) {
                    this.target_id = target_id;
                }

                public int getCup_id() {
                    return cup_id;
                }

                public void setCup_id(int cup_id) {
                    this.cup_id = cup_id;
                }

                public String getCup_name() {
                    return cup_name;
                }

                public void setCup_name(String cup_name) {
                    this.cup_name = cup_name;
                }

                public String getColor() {
                    return color;
                }

                public void setColor(String color) {
                    this.color = color;
                }

                public int getContest_type() {
                    return contest_type;
                }

                public void setContest_type(int contest_type) {
                    this.contest_type = contest_type;
                }

                public int getHome_team() {
                    return home_team;
                }

                public void setHome_team(int home_team) {
                    this.home_team = home_team;
                }

                public int getHome_scores() {
                    return home_scores;
                }

                public void setHome_scores(int home_scores) {
                    this.home_scores = home_scores;
                }

                public int getAway_team() {
                    return away_team;
                }

                public void setAway_team(int away_team) {
                    this.away_team = away_team;
                }

                public int getAway_scores() {
                    return away_scores;
                }

                public void setAway_scores(int away_scores) {
                    this.away_scores = away_scores;
                }

                public String getStart_time() {
                    return start_time;
                }

                public void setStart_time(String start_time) {
                    this.start_time = start_time;
                }

                public int getStatus() {
                    return status;
                }

                public void setStatus(int status) {
                    this.status = status;
                }

                public int getSettle() {
                    return settle;
                }

                public void setSettle(int settle) {
                    this.settle = settle;
                }

                public int getOdds_type() {
                    return odds_type;
                }

                public void setOdds_type(int odds_type) {
                    this.odds_type = odds_type;
                }

                public int getLevel() {
                    return level;
                }

                public void setLevel(int level) {
                    this.level = level;
                }

                public int getBet_count() {
                    return bet_count;
                }

                public void setBet_count(int bet_count) {
                    this.bet_count = bet_count;
                }

                public boolean isLock_flag() {
                    return lock_flag;
                }

                public void setLock_flag(boolean lock_flag) {
                    this.lock_flag = lock_flag;
                }

                public boolean isBelong_five() {
                    return belong_five;
                }

                public void setBelong_five(boolean belong_five) {
                    this.belong_five = belong_five;
                }

                public boolean isLongbi() {
                    return longbi;
                }

                public void setLongbi(boolean longbi) {
                    this.longbi = longbi;
                }

                public HTBean getH_t() {
                    return h_t;
                }

                public void setH_t(HTBean h_t) {
                    this.h_t = h_t;
                }

                public ATBean getA_t() {
                    return a_t;
                }

                public void setA_t(ATBean a_t) {
                    this.a_t = a_t;
                }

                public int getSettle_statu() {
                    return settle_statu;
                }

                public void setSettle_statu(int settle_statu) {
                    this.settle_statu = settle_statu;
                }

                public int getExt_flag() {
                    return ext_flag;
                }

                public void setExt_flag(int ext_flag) {
                    this.ext_flag = ext_flag;
                }

                public int getRoom_id() {
                    return room_id;
                }

                public void setRoom_id(int room_id) {
                    this.room_id = room_id;
                }

                public int getInit_count() {
                    return init_count;
                }

                public void setInit_count(int init_count) {
                    this.init_count = init_count;
                }

                public static class HTBean {
                    /**
                     * t_id : 3075
                     * name : 马赛
                     * logo : 1641.png
                     */

                    private int t_id;
                    private String name;
                    private String logo;

                    public int getT_id() {
                        return t_id;
                    }

                    public void setT_id(int t_id) {
                        this.t_id = t_id;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    public String getLogo() {
                        return "http://roi.skst.cn/logo/"+logo;
                    }

                    public void setLogo(String logo) {
                        this.logo = logo;
                    }
                }

                public static class ATBean {
                    /**
                     * t_id : 1200
                     * name : 里尔
                     * logo : 1643.png
                     */

                    private int t_id;
                    private String name;
                    private String logo;

                    public int getT_id() {
                        return t_id;
                    }

                    public void setT_id(int t_id) {
                        this.t_id = t_id;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    public String getLogo() {
                        return "http://roi.skst.cn/logo/"+logo;
                    }

                    public void setLogo(String logo) {
                        this.logo = logo;
                    }
                }
            }
        }
    }
}
